package com.meiyou.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MeiyouYuehuiExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MeiyouYuehuiExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYIdIsNull() {
            addCriterion("y_id is null");
            return (Criteria) this;
        }

        public Criteria andYIdIsNotNull() {
            addCriterion("y_id is not null");
            return (Criteria) this;
        }

        public Criteria andYIdEqualTo(Integer value) {
            addCriterion("y_id =", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdNotEqualTo(Integer value) {
            addCriterion("y_id <>", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdGreaterThan(Integer value) {
            addCriterion("y_id >", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("y_id >=", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdLessThan(Integer value) {
            addCriterion("y_id <", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdLessThanOrEqualTo(Integer value) {
            addCriterion("y_id <=", value, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdIn(List<Integer> values) {
            addCriterion("y_id in", values, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdNotIn(List<Integer> values) {
            addCriterion("y_id not in", values, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdBetween(Integer value1, Integer value2) {
            addCriterion("y_id between", value1, value2, "yId");
            return (Criteria) this;
        }

        public Criteria andYIdNotBetween(Integer value1, Integer value2) {
            addCriterion("y_id not between", value1, value2, "yId");
            return (Criteria) this;
        }

        public Criteria andYDateIsNull() {
            addCriterion("y_date is null");
            return (Criteria) this;
        }

        public Criteria andYDateIsNotNull() {
            addCriterion("y_date is not null");
            return (Criteria) this;
        }

        public Criteria andYDateEqualTo(String value) {
            addCriterion("y_date =", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateNotEqualTo(String value) {
            addCriterion("y_date <>", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateGreaterThan(String value) {
            addCriterion("y_date >", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateGreaterThanOrEqualTo(String value) {
            addCriterion("y_date >=", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateLessThan(String value) {
            addCriterion("y_date <", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateLessThanOrEqualTo(String value) {
            addCriterion("y_date <=", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateLike(String value) {
            addCriterion("y_date like", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateNotLike(String value) {
            addCriterion("y_date not like", value, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateIn(List<String> values) {
            addCriterion("y_date in", values, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateNotIn(List<String> values) {
            addCriterion("y_date not in", values, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateBetween(String value1, String value2) {
            addCriterion("y_date between", value1, value2, "yDate");
            return (Criteria) this;
        }

        public Criteria andYDateNotBetween(String value1, String value2) {
            addCriterion("y_date not between", value1, value2, "yDate");
            return (Criteria) this;
        }

        public Criteria andYStartIsNull() {
            addCriterion("y_start is null");
            return (Criteria) this;
        }

        public Criteria andYStartIsNotNull() {
            addCriterion("y_start is not null");
            return (Criteria) this;
        }

        public Criteria andYStartEqualTo(String value) {
            addCriterion("y_start =", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartNotEqualTo(String value) {
            addCriterion("y_start <>", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartGreaterThan(String value) {
            addCriterion("y_start >", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartGreaterThanOrEqualTo(String value) {
            addCriterion("y_start >=", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartLessThan(String value) {
            addCriterion("y_start <", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartLessThanOrEqualTo(String value) {
            addCriterion("y_start <=", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartLike(String value) {
            addCriterion("y_start like", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartNotLike(String value) {
            addCriterion("y_start not like", value, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartIn(List<String> values) {
            addCriterion("y_start in", values, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartNotIn(List<String> values) {
            addCriterion("y_start not in", values, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartBetween(String value1, String value2) {
            addCriterion("y_start between", value1, value2, "yStart");
            return (Criteria) this;
        }

        public Criteria andYStartNotBetween(String value1, String value2) {
            addCriterion("y_start not between", value1, value2, "yStart");
            return (Criteria) this;
        }

        public Criteria andYEndIsNull() {
            addCriterion("y_end is null");
            return (Criteria) this;
        }

        public Criteria andYEndIsNotNull() {
            addCriterion("y_end is not null");
            return (Criteria) this;
        }

        public Criteria andYEndEqualTo(String value) {
            addCriterion("y_end =", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndNotEqualTo(String value) {
            addCriterion("y_end <>", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndGreaterThan(String value) {
            addCriterion("y_end >", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndGreaterThanOrEqualTo(String value) {
            addCriterion("y_end >=", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndLessThan(String value) {
            addCriterion("y_end <", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndLessThanOrEqualTo(String value) {
            addCriterion("y_end <=", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndLike(String value) {
            addCriterion("y_end like", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndNotLike(String value) {
            addCriterion("y_end not like", value, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndIn(List<String> values) {
            addCriterion("y_end in", values, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndNotIn(List<String> values) {
            addCriterion("y_end not in", values, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndBetween(String value1, String value2) {
            addCriterion("y_end between", value1, value2, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYEndNotBetween(String value1, String value2) {
            addCriterion("y_end not between", value1, value2, "yEnd");
            return (Criteria) this;
        }

        public Criteria andYAddressIsNull() {
            addCriterion("y_address is null");
            return (Criteria) this;
        }

        public Criteria andYAddressIsNotNull() {
            addCriterion("y_address is not null");
            return (Criteria) this;
        }

        public Criteria andYAddressEqualTo(String value) {
            addCriterion("y_address =", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressNotEqualTo(String value) {
            addCriterion("y_address <>", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressGreaterThan(String value) {
            addCriterion("y_address >", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressGreaterThanOrEqualTo(String value) {
            addCriterion("y_address >=", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressLessThan(String value) {
            addCriterion("y_address <", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressLessThanOrEqualTo(String value) {
            addCriterion("y_address <=", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressLike(String value) {
            addCriterion("y_address like", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressNotLike(String value) {
            addCriterion("y_address not like", value, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressIn(List<String> values) {
            addCriterion("y_address in", values, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressNotIn(List<String> values) {
            addCriterion("y_address not in", values, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressBetween(String value1, String value2) {
            addCriterion("y_address between", value1, value2, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYAddressNotBetween(String value1, String value2) {
            addCriterion("y_address not between", value1, value2, "yAddress");
            return (Criteria) this;
        }

        public Criteria andYNumIsNull() {
            addCriterion("y_num is null");
            return (Criteria) this;
        }

        public Criteria andYNumIsNotNull() {
            addCriterion("y_num is not null");
            return (Criteria) this;
        }

        public Criteria andYNumEqualTo(Integer value) {
            addCriterion("y_num =", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumNotEqualTo(Integer value) {
            addCriterion("y_num <>", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumGreaterThan(Integer value) {
            addCriterion("y_num >", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("y_num >=", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumLessThan(Integer value) {
            addCriterion("y_num <", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumLessThanOrEqualTo(Integer value) {
            addCriterion("y_num <=", value, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumIn(List<Integer> values) {
            addCriterion("y_num in", values, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumNotIn(List<Integer> values) {
            addCriterion("y_num not in", values, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumBetween(Integer value1, Integer value2) {
            addCriterion("y_num between", value1, value2, "yNum");
            return (Criteria) this;
        }

        public Criteria andYNumNotBetween(Integer value1, Integer value2) {
            addCriterion("y_num not between", value1, value2, "yNum");
            return (Criteria) this;
        }

        public Criteria andYMeijinIsNull() {
            addCriterion("y_meijin is null");
            return (Criteria) this;
        }

        public Criteria andYMeijinIsNotNull() {
            addCriterion("y_meijin is not null");
            return (Criteria) this;
        }

        public Criteria andYMeijinEqualTo(Integer value) {
            addCriterion("y_meijin =", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinNotEqualTo(Integer value) {
            addCriterion("y_meijin <>", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinGreaterThan(Integer value) {
            addCriterion("y_meijin >", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinGreaterThanOrEqualTo(Integer value) {
            addCriterion("y_meijin >=", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinLessThan(Integer value) {
            addCriterion("y_meijin <", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinLessThanOrEqualTo(Integer value) {
            addCriterion("y_meijin <=", value, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinIn(List<Integer> values) {
            addCriterion("y_meijin in", values, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinNotIn(List<Integer> values) {
            addCriterion("y_meijin not in", values, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinBetween(Integer value1, Integer value2) {
            addCriterion("y_meijin between", value1, value2, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYMeijinNotBetween(Integer value1, Integer value2) {
            addCriterion("y_meijin not between", value1, value2, "yMeijin");
            return (Criteria) this;
        }

        public Criteria andYPingtaiIsNull() {
            addCriterion("y_pingtai is null");
            return (Criteria) this;
        }

        public Criteria andYPingtaiIsNotNull() {
            addCriterion("y_pingtai is not null");
            return (Criteria) this;
        }

        public Criteria andYPingtaiEqualTo(String value) {
            addCriterion("y_pingtai =", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiNotEqualTo(String value) {
            addCriterion("y_pingtai <>", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiGreaterThan(String value) {
            addCriterion("y_pingtai >", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiGreaterThanOrEqualTo(String value) {
            addCriterion("y_pingtai >=", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiLessThan(String value) {
            addCriterion("y_pingtai <", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiLessThanOrEqualTo(String value) {
            addCriterion("y_pingtai <=", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiLike(String value) {
            addCriterion("y_pingtai like", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiNotLike(String value) {
            addCriterion("y_pingtai not like", value, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiIn(List<String> values) {
            addCriterion("y_pingtai in", values, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiNotIn(List<String> values) {
            addCriterion("y_pingtai not in", values, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiBetween(String value1, String value2) {
            addCriterion("y_pingtai between", value1, value2, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYPingtaiNotBetween(String value1, String value2) {
            addCriterion("y_pingtai not between", value1, value2, "yPingtai");
            return (Criteria) this;
        }

        public Criteria andYUCountIsNull() {
            addCriterion("y_u_count is null");
            return (Criteria) this;
        }

        public Criteria andYUCountIsNotNull() {
            addCriterion("y_u_count is not null");
            return (Criteria) this;
        }

        public Criteria andYUCountEqualTo(String value) {
            addCriterion("y_u_count =", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountNotEqualTo(String value) {
            addCriterion("y_u_count <>", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountGreaterThan(String value) {
            addCriterion("y_u_count >", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountGreaterThanOrEqualTo(String value) {
            addCriterion("y_u_count >=", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountLessThan(String value) {
            addCriterion("y_u_count <", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountLessThanOrEqualTo(String value) {
            addCriterion("y_u_count <=", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountLike(String value) {
            addCriterion("y_u_count like", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountNotLike(String value) {
            addCriterion("y_u_count not like", value, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountIn(List<String> values) {
            addCriterion("y_u_count in", values, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountNotIn(List<String> values) {
            addCriterion("y_u_count not in", values, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountBetween(String value1, String value2) {
            addCriterion("y_u_count between", value1, value2, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYUCountNotBetween(String value1, String value2) {
            addCriterion("y_u_count not between", value1, value2, "yUCount");
            return (Criteria) this;
        }

        public Criteria andYStateIsNull() {
            addCriterion("y_state is null");
            return (Criteria) this;
        }

        public Criteria andYStateIsNotNull() {
            addCriterion("y_state is not null");
            return (Criteria) this;
        }

        public Criteria andYStateEqualTo(String value) {
            addCriterion("y_state =", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateNotEqualTo(String value) {
            addCriterion("y_state <>", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateGreaterThan(String value) {
            addCriterion("y_state >", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateGreaterThanOrEqualTo(String value) {
            addCriterion("y_state >=", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateLessThan(String value) {
            addCriterion("y_state <", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateLessThanOrEqualTo(String value) {
            addCriterion("y_state <=", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateLike(String value) {
            addCriterion("y_state like", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateNotLike(String value) {
            addCriterion("y_state not like", value, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateIn(List<String> values) {
            addCriterion("y_state in", values, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateNotIn(List<String> values) {
            addCriterion("y_state not in", values, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateBetween(String value1, String value2) {
            addCriterion("y_state between", value1, value2, "yState");
            return (Criteria) this;
        }

        public Criteria andYStateNotBetween(String value1, String value2) {
            addCriterion("y_state not between", value1, value2, "yState");
            return (Criteria) this;
        }

        public Criteria andYTimeIsNull() {
            addCriterion("y_time is null");
            return (Criteria) this;
        }

        public Criteria andYTimeIsNotNull() {
            addCriterion("y_time is not null");
            return (Criteria) this;
        }

        public Criteria andYTimeEqualTo(Date value) {
            addCriterion("y_time =", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeNotEqualTo(Date value) {
            addCriterion("y_time <>", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeGreaterThan(Date value) {
            addCriterion("y_time >", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("y_time >=", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeLessThan(Date value) {
            addCriterion("y_time <", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeLessThanOrEqualTo(Date value) {
            addCriterion("y_time <=", value, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeIn(List<Date> values) {
            addCriterion("y_time in", values, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeNotIn(List<Date> values) {
            addCriterion("y_time not in", values, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeBetween(Date value1, Date value2) {
            addCriterion("y_time between", value1, value2, "yTime");
            return (Criteria) this;
        }

        public Criteria andYTimeNotBetween(Date value1, Date value2) {
            addCriterion("y_time not between", value1, value2, "yTime");
            return (Criteria) this;
        }

        public Criteria andYSexIsNull() {
            addCriterion("y_sex is null");
            return (Criteria) this;
        }

        public Criteria andYSexIsNotNull() {
            addCriterion("y_sex is not null");
            return (Criteria) this;
        }

        public Criteria andYSexEqualTo(String value) {
            addCriterion("y_sex =", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexNotEqualTo(String value) {
            addCriterion("y_sex <>", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexGreaterThan(String value) {
            addCriterion("y_sex >", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexGreaterThanOrEqualTo(String value) {
            addCriterion("y_sex >=", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexLessThan(String value) {
            addCriterion("y_sex <", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexLessThanOrEqualTo(String value) {
            addCriterion("y_sex <=", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexLike(String value) {
            addCriterion("y_sex like", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexNotLike(String value) {
            addCriterion("y_sex not like", value, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexIn(List<String> values) {
            addCriterion("y_sex in", values, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexNotIn(List<String> values) {
            addCriterion("y_sex not in", values, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexBetween(String value1, String value2) {
            addCriterion("y_sex between", value1, value2, "ySex");
            return (Criteria) this;
        }

        public Criteria andYSexNotBetween(String value1, String value2) {
            addCriterion("y_sex not between", value1, value2, "ySex");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}